package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.AcqButtleDailyDao;
import com.meizi.lushi.entity.AcqButtleDailyEntity;
import com.meizi.lushi.service.AcqButtleDailyService;


@Service("acqButtleDailyService")
public class AcqButtleDailyServiceImpl extends ServiceImpl<AcqButtleDailyDao, AcqButtleDailyEntity> implements AcqButtleDailyService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AcqButtleDailyEntity> page = this.page(
                new Query<AcqButtleDailyEntity>().getPage(params),
                new QueryWrapper<AcqButtleDailyEntity>()
        );

        return new PageUtils(page);
    }

}